package com.read.scriptures.constants;

import android.os.Environment;

import com.read.scriptures.app.HuDongApplication;

/**
 * Created by Administrator on 2015/6/12.
 */
public class SystemConstants {

    public static final int XLIST_REFRESH_FINISH = 0;
    public static final int XLIST_LOADH_FINISH = 1;
    public static final int XLIST_REQUEST_FINISH = 2;

    public static final int MONTH = 30;
    public static final int QUARTER = 90;
    public static final int HALF_YEAR = 180;
    public static final int YEAR = 360;
    public static final int FOREVER = -1;

    public static final int Notification_ID_BASE = 120;



    public static String WX_DAYS = "30";
    public static String WX_MONEY = "0";
    public static String WX_UUID = "";
    public static String WX_LEVEL_TYPE = "";
    public static int SPEECH_TYPE = 1;//1:

    /**
     * 字体名称
     */
    public static String FONT_NAME = "-1";
    public static boolean isActive = false;
    public static boolean isUpdateBook = false;

    public static final String SDCARD_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/";
    public static final String APP_PATH = SDCARD_PATH + "YanJing/";
    public static final String APP_BANNER_PATH = SDCARD_PATH + "Banner/";
    public static final String SHUKU = SDCARD_PATH + "ShuKu/";
    public static final String APK = SDCARD_PATH + "HD_APK/hudong.apk";
    public static final String DOWNLOAD_FILE_PATH = HuDongApplication.getInstance().getFilesDir().getAbsolutePath()+"/";


    //add
    public static final int SHENGJING_JIU = 2;
    public static final int SHENGJING_XIN = 3;
    public static boolean isShengjing(int parentid){
        return parentid==SHENGJING_JIU || parentid==SHENGJING_XIN;
    }
}
